{include file="Public:header" /}
<body>
<link rel="stylesheet" href="__PUBLIC__/css/index.css">
<!--Header-->
<div id="header">
    <!--Top投影层-->
    <div id="top">
        <!-- logo-->
        <div class="logo"><img src="__PUBLIC__/images/admin_logo.png"> </div>
        <!-- 会员信息-->
        <div class="top_user"  data-toggle="dropdown">
            <div class="top_user_pic"><div class="top_user_thumb"><img src="__PUBLIC__/images/user_pic.jpg" width="45"></div> </div>
            <div class="top_user_u">
                <div class="top_user_name">{:session('user.name')}</div>
                <div class="top_user_level">超级管理员 <i class="iconfont icon-xiangxia"></i></div>
            </div>
            <!--下拉会员信息-->
            <div class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                111
            </div>
            <!--下拉会员信息 End-->
        </div>
        <!-- 右侧菜单-->
        <div class="top_menu">
            <ul>
                <li>
                    <a href="{:url('index/index/index')}" target="_blank">
                        <div class="i"><i class="iconfont icon-shouyeshouye"></i></div>
                        <div class="text">前台首页</div>
                    </a>
                </li>
                <li>
                    <a href="{:url('site/index')}" target="frame">
                        <div class="i"><i class="iconfont icon-shezhi"></i></div>
                        <div class="text">系统设置</div>
                    </a>
                </li>
                <li>
                    <a href="">
                        <div class="i"><i class="iconfont icon-qingchu"></i></div>
                        <div class="text">清理缓存</div>
                    </a>
                </li>
                <li>
                    <a href="">
                        <div class="i"><i class="iconfont icon-suodingxuanzhuan"></i></div>
                        <div class="text">锁定界面</div>
                    </a>
                </li>
                <li>
                    <a href="">
                        <div class="i"><i class="iconfont icon-skin"></i></div>
                        <div class="text">换肤</div>
                    </a>
                </li>
                <li>
                    <a href="{:url('login/out')}">
                        <div class="i"><i class="iconfont icon-logout"></i></div>
                        <div class="text">退出</div>
                    </a>
                </li>
            </ul>
        </div>
    </div>
</div>
<!--Main-->
<div id="main">
    <!--Left 左侧菜单-->
    {include file="index:menu" /}
    <!--Rig-->
    <div class="main_rig">
        <!--内容区块-->

        <iframe src="{:url('admin/index/info')}" frameborder="0" width="100%" height="100%" scrolling="yes" name="frame"></iframe>
        <!--内容区块End-->
    </div>
</div>
</body>
<script>

   // 初始化浏览器框架大小
    $(document).ready(function(){
        main();
    })
    // 浏览器框架大小变动
    window.onresize=function(){
        main();
    }
    // 框架变动时间
    function main(){
    // Header高度
    $header_h = $("#header").css('height');
   // 显示器分辨率
  $h =  document.documentElement.clientHeight;
  $height = $h- parseInt($header_h);

   $("#main").css('height',$height);
}
</script>
</html>